import { RootState } from "../types";
import { UserInfo } from "./types";

export type Getters = {
  // common
  userInfo(state: RootState): UserInfo;
};
export const userGetters: Getters = {
  userInfo: (state) => {
    return state.userInfo;
  },
};
